//
// Created by 吴喆 on 2020/3/5.
//

#ifndef SUMMER_FILEUTIL_H
#define SUMMER_FILEUTIL_H

#include <string>
#include <fstream>
#include <iostream>

enum class IMG_TYPE {UNKNOWN, PNG, GIF, JPEG};

class FileUtil {
public:
    static IMG_TYPE isImage(std::ifstream &fStream);
private:
    FileUtil() = default;
};


#endif //SUMMER_FILEUTIL_H
